]> dgit.raspbian.org Git - gnome-shell.git/commit
modalDialog: emit 'closed' signal when dialog is closed
authorRay Strode <rstrode@redhat.com>
Wed, 20 Feb 2013 18:15:51 +0000 (13:15 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 20 Feb 2013 19:16:53 +0000 (14:16 -0500)
commit677cdfd6c8f1dadece4a2c643bf1a59cd1e71de8
treee6a2cc408ddcdad7e13f18dde8eba0fcd2a3e0c9
parente9f18c6d8da01e0af2a2b4836d78210e9de7c511
modalDialog: emit 'closed' signal when dialog is closed

Opening and closing a modal dialog is not instant. There
is a transition animation involved.  When the dialog is
finished opening, it currently emits the "opened" signal.

When it's finished closing, however, it doesn't emit a
"closed" signal.  This means, there's not a good way to
know when the dialog finishes closing.

This commit adds the "closed" signal.

https://bugzilla.gnome.org/show_bug.cgi?id=694296
js/ui/modalDialog.js